package com.dwd.org.service.impl;

import com.dwd.basic.service.impl.BaseServiceImpl;
import com.dwd.org.mapper.DictionaryTypeMapper;
import com.dwd.org.pojo.DictionaryType;
import com.dwd.org.service.IDictionaryTypeService;
import com.dwd.org.service.IEmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * @Description: TODO
 * @Author 汶狄
 * @Date 2021/1/11 11:02
 * @Version 1.0
 */
@Service
public class DictionaryTypeImpl extends BaseServiceImpl<DictionaryType> implements IDictionaryTypeService {
    @Autowired
    private DictionaryTypeMapper dictionaryTypeMapper;

    @Override
    public void delete(Long id) {
        dictionaryTypeMapper.deleteDetail(id);
        super.delete(id);
    }
}
